package com.cn.hibernate.base;

import java.sql.Types;

import org.hibernate.dialect.MySQLDialect;
import org.hibernate.type.LongType;

public class CustomDialect extends MySQLDialect {  
    public CustomDialect() {  
        super();  
        registerHibernateType(Types.BIGINT, LongType.INSTANCE.getName());  
    }  
} 
